package com.edu.mapper;
/*
 * @Author:princess
 * @Date 2023/10/9 10 09 18:40
 *
 */

import com.edu.bean.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookMapper {
    List<Book> selectBook(Book book);
    int updateBook(Book book);
    List<Book> getBook(Book book);
    List<Book> selectBookByName(@Param("bookNames") String[] bookNames);//查找书名在 指定的数组范围内的 书的信息
    List<Book> selectBookByBookName(String bookName);
    int insertBook(Book book);
}
